﻿<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@page import="java.util.List"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%

	String getContextPath = request.getContextPath();
    List<String> head = (List<String>)request.getAttribute("pagehead");
	List<List<String>> content = (List<List<String>>)request.getAttribute("pagecontent");

%>
<!DOCTYPE html>
<html>
<head>
    <title></title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
    <link rel="stylesheet" href="<%=getContextPath%>/resources/app/css/template_column.css">
    <script type="text/javascript" src="<%=getContextPath%>/resources/app/js/jquery-1.11.1.js"></script>
    <script src="<%=getContextPath%>/resources/app/js/template_column.js"></script>
</head>
<body>
    <div class="content">
    	<%
            	for(int i = 0; i < content.size(); i++){
            		List<String> list = content.get(i);
            		%>
            		<div class="info">
			            <ul>
			            <%
			            for(int j = 0; j < list.size(); j++){
			            	%>
			            	<li>
			                    <div class="head"><%=head.get(j) %></div>
			                    <div class="cont"><%=list.get(j) %></div>
			                </li>
			            	<%
			            }
			            %>
			            </ul>
			       </div>
            		<%
            	}
            %>
            <!--
       <div class="info">
            <ul>
                <li>
                    <div class="head">姓名</div>
                    <div class="cont">张三</div>
                </li>
                <li>
                    <div class="head">所学专业</div>
                    <div class="cont">计算机科学与技术</div>
                </li>
                <li>
                    <div class="head">出生年月</div>
                    <div class="cont">1989-11-19</div>
                </li>
                <li>
                    <div class="head">姓名</div>
                    <div class="cont">张三</div>
                </li>
                <li>
                    <div class="head">姓名</div>
                    <div class="cont">张三</div>
                </li>
                <li>
                    <div class="head">姓名</div>
                    <div class="cont">张三</div>
                </li>
            </ul>

       </div>
        -->
    </div>
    
</body>
</html>
